Skip to content

test(ui): cover the support note height animation in the browser - #1254

Merged
TheMeinerLP merged 1 commit into
mainfrom
test/system-info-note-motion
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
test/system-info-note-motion

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

Opening the "What is removed" note on the system information page already slides its height, but only unit tests proved it. A browser regression could have gone unnoticed. This adds two browser tests for it: one for the open and close animation (the page does not jump, the section stays open until the close has finished), one for reduced motion (the section is at full height at once). No production code changes.

Type of change

  • test - tests only

How was this tested?

  • npx playwright test e2e/system-info.spec.ts --project=chromium --workers=2 through heavy: 15 passed.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md (English, imperative, one of feat, fix, docs, refactor, test, build, ci, chore, perf)
  • Tests cover the change, or the change is not testable and I explained why above
  • ./gradlew build passes locally
  • Documentation and configuration samples are updated if the change is user-facing
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

The shared disclosure already animates its height, but only unit tests
asserted it. Two browser tests now open and close the support note on
the system information page. One reads the expand classes, the kept
open attribute and the scroll position. The other checks that the body
reaches its full height at once under reduced motion.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 791df87 Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the test/system-info-note-motion branch November 23, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant